package com.envper.common.service.device;

import com.envper.common.domain.device.Payload;
import com.envper.common.domain.dto.DeviceDto;

import java.util.List;

public interface DeviceService {

    List<DeviceDto> getDeviceInfoList();

    void registerDeviceInfo(DeviceDto deviceDto);

    void removeDeviceInfo(Long id);

    void saveData(Payload payload);

    List<DeviceDto> getDeviceInfoListByDeviceIdList(List<Long> deviceList);

    DeviceDto getDeviceInfoById(Long id);
}
